[INFO] cloning repository https://github.com/m-lima/chess
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/m-lima/chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fm-lima%2Fchess", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fm-lima%2Fchess'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b924e8c0c38e37414327b9cc960ff74bad6673ec
[INFO] testing m-lima/chess against try#46592174fb13958bb9a2aa0d7af6c1224e1d7143 for pr-83796
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fm-lima%2Fchess" "/workspace/builds/worker-6/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/m-lima/chess on toolchain 46592174fb13958bb9a2aa0d7af6c1224e1d7143
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/m-lima/chess
[INFO] finished tweaking git repo https://github.com/m-lima/chess
[INFO] tweaked toml for git repo https://github.com/m-lima/chess written to /workspace/builds/worker-6/source/Cargo.toml
[INFO] crate git repo https://github.com/m-lima/chess already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded pin-project-lite v0.1.8
[INFO] [stderr]   Downloaded borrow-bag v1.0.0
[INFO] [stderr]   Downloaded mio v0.7.0
[INFO] [stderr]   Downloaded gotham v0.5.0
[INFO] [stderr]   Downloaded gotham_derive v0.5.0
[INFO] [stderr]   Downloaded simplelog v0.8.0
[INFO] [stderr]   Downloaded chess v3.1.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2fc0df3e5d7dbbfb595744d051e8e8cb66cef4e20a4fc3c460aa75f232f29b59
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "2fc0df3e5d7dbbfb595744d051e8e8cb66cef4e20a4fc3c460aa75f232f29b59", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2fc0df3e5d7dbbfb595744d051e8e8cb66cef4e20a4fc3c460aa75f232f29b59", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2fc0df3e5d7dbbfb595744d051e8e8cb66cef4e20a4fc3c460aa75f232f29b59", kill_on_drop: false }`
[INFO] [stdout] 2fc0df3e5d7dbbfb595744d051e8e8cb66cef4e20a4fc3c460aa75f232f29b59
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e6efbeec2dd8e4b4081e0d32e2dc8b3be918abe2ecb3eb91af669e5ee5ab4163
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "e6efbeec2dd8e4b4081e0d32e2dc8b3be918abe2ecb3eb91af669e5ee5ab4163", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling pulldown-cmark v0.2.0
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.68
[INFO] [stderr]    Compiling remove_dir_all v0.5.3
[INFO] [stderr]    Compiling untrusted v0.7.1
[INFO] [stderr]    Compiling bytecount v0.4.0
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]    Compiling glob v0.2.11
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling ppv-lite86 v0.2.9
[INFO] [stderr]    Compiling arrayvec v0.4.12
[INFO] [stderr]    Compiling wasm-bindgen v0.2.68
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling error-chain v0.12.4
[INFO] [stderr]    Compiling futures-task v0.3.5
[INFO] [stderr]    Compiling time v0.2.22
[INFO] [stderr]    Compiling tracing-core v0.1.16
[INFO] [stderr]    Compiling cookie v0.14.2
[INFO] [stderr]    Compiling ring v0.16.15
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling itertools v0.9.0
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling mio v0.7.0
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling mio v0.6.22
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling tracing v0.1.19
[INFO] [stderr]    Compiling synstructure v0.12.4
[INFO] [stderr]    Compiling gotham_derive v0.5.0
[INFO] [stderr]    Compiling miniz_oxide v0.4.2
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling num-integer v0.1.43
[INFO] [stderr]    Compiling indexmap v1.6.0
[INFO] [stderr]    Compiling time-macros v0.1.0
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.68
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling futures-util v0.3.5
[INFO] [stderr]    Compiling tempdir v0.3.7
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling bincode v1.3.1
[INFO] [stderr]    Compiling mio-uds v0.6.8
[INFO] [stderr]    Compiling chess v3.1.1
[INFO] [stderr]    Compiling tokio v0.2.22
[INFO] [stderr]    Compiling backtrace v0.3.50
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.68
[INFO] [stderr]    Compiling uuid v0.8.1
[INFO] [stderr]    Compiling sct v0.6.0
[INFO] [stderr]    Compiling webpki v0.21.3
[INFO] [stderr]    Compiling chrono v0.4.18
[INFO] [stderr]    Compiling cargo_metadata v0.6.4
[INFO] [stderr]    Compiling rustls v0.18.1
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.68
[INFO] [stderr]    Compiling skeptic v0.13.4
[INFO] [stderr]    Compiling simplelog v0.8.0
[INFO] [stderr]    Compiling failure v0.1.8
[INFO] [stderr]    Compiling borrow-bag v1.0.0
[INFO] [stderr]    Compiling futures-executor v0.3.5
[INFO] [stderr]    Compiling futures v0.3.5
[INFO] [stderr]    Compiling tokio-util v0.3.1
[INFO] [stderr]    Compiling js-sys v0.3.45
[INFO] [stderr]    Compiling tokio-rustls v0.14.1
[INFO] [stderr]    Compiling h2 v0.2.6
[INFO] [stderr]    Compiling hyper v0.13.8
[INFO] [stderr]    Compiling gotham v0.5.0
[INFO] [stderr]    Compiling server v0.1.0 (/opt/rustwide/workdir/server)
[INFO] [stderr]    Compiling wasm v0.1.0 (/opt/rustwide/workdir/wasm)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]   --> server/src/handler.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |             tokio::spawn(ws);
[INFO] [stdout]    |             ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WebSocketStream`
[INFO] [stdout]   --> server/src/websocket.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |         WebSocketStream::from_raw_socket(upgraded, Role::Server, None).map(Ok)
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ use of undeclared type `WebSocketStream`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Role`
[INFO] [stdout]   --> server/src/websocket.rs:21:52
[INFO] [stdout]    |
[INFO] [stdout] 21 |         WebSocketStream::from_raw_socket(upgraded, Role::Server, None).map(Ok)
[INFO] [stdout]    |                                                    ^^^^ use of undeclared type `Role`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `request_id` in this scope
[INFO] [stdout]   --> server/src/handler.rs:23:26
[INFO] [stdout]    |
[INFO] [stdout] 23 |             let req_id = request_id(&state).to_owned();
[INFO] [stdout]    |                          ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 1  | use gotham::state::request_id;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `connected` in this scope
[INFO] [stdout]   --> server/src/handler.rs:26:37
[INFO] [stdout]    |
[INFO] [stdout] 26 |                 .and_then(move |ws| connected(req_id, ws));
[INFO] [stdout]    |                                     ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Future` in this scope
[INFO] [stdout]   --> server/src/websocket.rs:15:14
[INFO] [stdout]    |
[INFO] [stdout] 15 |         impl Future<Output = Result<WebSocketStream<Upgraded>, hyper::Error>>,
[INFO] [stdout]    |              ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use core::future::Future;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use crate::websocket::hyper::upgrade::Future;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::future::Future;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `WebSocketStream` in this scope
[INFO] [stdout]   --> server/src/websocket.rs:15:37
[INFO] [stdout]    |
[INFO] [stdout] 15 |         impl Future<Output = Result<WebSocketStream<Upgraded>, hyper::Error>>,
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Upgraded` in this scope
[INFO] [stdout]   --> server/src/websocket.rs:15:53
[INFO] [stdout]    |
[INFO] [stdout] 15 |         impl Future<Output = Result<WebSocketStream<Upgraded>, hyper::Error>>,
[INFO] [stdout]    |                                                     ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use crate::websocket::hyper::upgrade::Upgraded;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `response` in this scope
[INFO] [stdout]   --> server/src/websocket.rs:19:15
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let res = response(headers)?;
[INFO] [stdout]    |               ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `server`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "e6efbeec2dd8e4b4081e0d32e2dc8b3be918abe2ecb3eb91af669e5ee5ab4163", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e6efbeec2dd8e4b4081e0d32e2dc8b3be918abe2ecb3eb91af669e5ee5ab4163", kill_on_drop: false }`
[INFO] [stdout] e6efbeec2dd8e4b4081e0d32e2dc8b3be918abe2ecb3eb91af669e5ee5ab4163
